package com.alibaba.sdk.constant;

/**
 * 存放预定义错误码
 *
 * @ writer Shawn(Shawn_0217@163.com)
 * @ date & time 2021/4/26 22:13
 * @ company alibaba
 */
public class ApplicationErrorConstant {

    /**
     * 系统异常错误码
     */
    public static final String SYSTEM_ERROR_CODE = "999999";

    /**
     * 用户未登录
     */
    public static final String USER_NO_LOGIN = "100000";

    /**
     * 用户无此权限
     */
    public static final String HAS_NO_AUTHORIZATION = "100001";

    /**
     * 用户名或者密码错误
     */
    public static final String WRONG_USERNAME_OR_PASSWORD = "100002";

    /**
     * 用户名重复
     */
    public static final String USERNAME_DUPLICATE = "100003";

    /**
     * 禁止添加系统管理员
     */
    public static final String FORBID_ADD_SUPER_ADMIN = "100004";

}
